package com.edu.web.controller.common;

import com.edu.framework.websocket.service.WeatherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 通用请求处理
 *
 * @author xxxx
 */

@RestController
@RequestMapping("/test")
public class MyTestController {

    @Autowired
    private WeatherService weatherService;

//    @GetMapping("/weather")
//    public String testWeather(){
//        Coordinate coordinate = Coordinate.defaultCoordinate();
//        String result = weatherService.getWeather(coordinate);
//        return result;
//    }
}
